﻿using Genius.Brain.Shared.BO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Modules.VocabularyTrainer.Shared.Strategy
{
    public enum VocabularyMatchRate
    {
        None = 0,
        WrongCase = 1,
        WrongDiacritics = 2,
        MissingMark = 3,
        WrongMark = 4,

        SimpleErrors = 10,
        MissingArticle = 13,
        WrongArticle = 14,
        MissingPreposition = 15,
        WrongPreposition = 16,


        HeavyError = 1000,
        Missing = 1001,
        Wrong = 1002,

        Unknown = 9999
    }

    public interface IVocabularyMatchRateStrategy
    {
        VocabularyMatchRate Rate(IList<IMatch> matches);
    }
}
